import Vue from 'vue/dist/vue.esm';
// import Vue from 'vue/dist/vue';
import router from './routes';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import locale from 'element-ui/lib/locale/lang/zh-CN'

import 'styles/index.scss' // global css

import SvgIcon from './components/SvgIcon'// svg组件

import './icons'

Vue.use(ElementUI, { size: 'small', zIndex: 3000 });  // size用于改变组件的默认尺寸，zIndex设置弹出框的初始z-index(默认值：2000)。
Vue.use(ElementUI, { locale })

const app = new Vue({
  router
}).$mount('#app')
